package com.wt.springboot.mapper;

import com.wt.springboot.bean.Department;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IDEA
 * Describe:
 * Author:TianJi
 * Date:2018/11/8
 * Time:13:26
 */
@Mapper
public interface DepartmentMapper {

    @Select("select * from department where id = #{id}")
    Department getDeptById(Integer id);
}
